Skip to main content

All Questions

1vote
1answer
423views

Inserting large number of rows into database with Spring boot

I need to insert many million rows + many GB of data into a database for a project that uses Spring boot. I recreated a minimal example with a one to many relationship and am trying to find the ...
Pux's user avatar
  • 155
1vote
1answer
3kviews

Handling multiple optional parameters in Spring

I have an endpoint in my RestAPI which can receive 3 optional parameters and then find information in the database with these parameters, also it is possible to combine the parameters. So, in my ...
Kalich's user avatar
2votes
1answer
2kviews

Inserting 50k rows with Spring Data and JPA [closed]

I am using Spring Data JPA with Spring boot application. My requirement is to insert 50K rows in JPA entity table in one hour or less. I have 3 entities A, B and C. Entity A has a one to many ...
Pankaj's user avatar
2votes
1answer
116views

Copying notes takes a very long time

I am working on a Spring-MVC application in which we have note like functionality. Notes can have attachments, history, etc. There is a method to copy notes. When a note has a large number of ...
We are Borg's user avatar
5votes
2answers
1kviews

Google Maps API with Jackson Parser

I am working on the Google Maps API, doing a reverse geocoding with the following code snippet. What I am using are: Spring Jackson Parser Google Maps API It is working fine but it gives results a ...
Shaun 's user avatar
5votes
1answer
251views

Bot-like Spring Java service for checking advertisements

I am in the middle of developing a Spring Boot application, which has a service acting like a bot. advertisementService.update(Advertisement ad) is a method which ...
gadomsky's user avatar
2votes
2answers
6kviews

Write into the same CSV file multiple times

I implemented an OutputWriterService.class to write content in the same file multiple times. The writeToCsvFile method is ...
Patrick's user avatar
3votes
2answers
207views

Performance enhancement for collection manipulation

I have below snippet of code which gets all the available menu items for a zone(top or left)and adds the widgets for which user has access to an ArrayList collection. For now the getWidgetsByZone(zone)...
OTUser's user avatar

close